<template>
	<view>
		<web-view :src="'https://ldyq.dx.hdapp.com.cn/index.html?userID=' + userID + '&&userSig=' + userSig+'&&callUserID='+callUserID+'&&type='+type" @message="getmessage"></web-view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				callUserID:'',
				userID:'',
				userSig:'',
				type:'1' //1拨打 2收到
			}
		},
		onLoad(e) {
			if(e.userID){
				this.callUserID = e.callUserID.slice(3)
				this.userID = e.userID
				this.userSig = e.userSig
				this.type = e.type
			}
			
			
		},
		methods: {
			getmessage(e){
				console.log(e)
				uni.navigateBack()
			}
		}
	}
</script>

<style>
	webview {
	  width: 100vw;
	  height: 100vh;
	}
</style>
